import home from './home'
import error from './error'
import system from './system'

export const authRoutes=[
  ...home,
  ...error,
  ...system
]

export default [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/login',
    component: './login/login',
  },
  {
    path: '/',
    component: '../layouts',
    Routes: ['./src/pages/authorize.js'],
    hidden: true,
    routes: authRoutes
  }
]
